
using System;
using System.Runtime.Serialization;

namespace ICIA.ARojas.Silverlight.Entities
{
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]    
    [System.Runtime.Serialization.DataContractAttribute(Name = "Observaciones", Namespace = "http://schemas.datacontract.org/2004/07/ICIA.ARojas.AccesoDatos.Entidades")]
	[System.Runtime.Serialization.KnownTypeAttribute(typeof(ICIA.ARojas.Silverlight.Entities.Observaciones))]
	public partial class Observaciones : object, System.ComponentModel.INotifyPropertyChanged
	{
        #region Private Members
		
       private Destino DestinoField;
       private int IdField;
       private string NombreObservacionField;
       private string DetalleObservacionField;
       private DateTime? FechaField;
       private DateTime? FechaActualizadoField;
       private string OtrosField;
	
		#endregion
		
		#region constructor		
		public Observaciones()
		{
		}
		#endregion
		
		#region Public Properties
		

        [System.Runtime.Serialization.DataMemberAttribute()]
        public Destino Destino 
        {
            get 
            {
                return this.DestinoField;
            }
            set 
            {
                    this.DestinoField = value;
                    this.RaisePropertyChanged("Destino");
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Id 
        {
            get 
            {
                return this.IdField;
            }
            set 
            {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public string NombreObservacion 
        {
            get 
            {
                return this.NombreObservacionField;
            }
            set 
            {
                    this.NombreObservacionField = value;
                    this.RaisePropertyChanged("NombreObservacion");
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public string DetalleObservacion 
        {
            get 
            {
                return this.DetalleObservacionField;
            }
            set 
            {
                    this.DetalleObservacionField = value;
                    this.RaisePropertyChanged("DetalleObservacion");
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public DateTime? Fecha 
        {
            get 
            {
                return this.FechaField;
            }
            set 
            {
                    this.FechaField = value;
                    this.RaisePropertyChanged("Fecha");
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public DateTime? FechaActualizado 
        {
            get 
            {
                return this.FechaActualizadoField;
            }
            set 
            {
                    this.FechaActualizadoField = value;
                    this.RaisePropertyChanged("FechaActualizado");
            }
        }

        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Otros 
        {
            get 
            {
                return this.OtrosField;
            }
            set 
            {
                    this.OtrosField = value;
                    this.RaisePropertyChanged("Otros");
            }
        }
		
		#endregion 	
		
		public override string ToString()
        {
		    //Aqui pueden cambiar el return a por ejemplo la concatenacion de propiedades			
            return "Entity : "+Id.ToString();
        }
		
		#region INotifyPropertyChanged
		public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        protected void RaisePropertyChanged(string propertyName)
        {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null))
            {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
		#endregion

	}
}

